package com.elfysuen.demo.springboot.control;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @desc Hello
 * @author elfy.suen  mailto: elfysuen@163.com
 * @date 2020-03-17
 */
@RestController
public class HelloWorldController {

    /*
    * rest的ajax的请求处理
    * */
    @RequestMapping("/sayHello")
    public String sayHello() {
        return "HelloWorld!!!";
    }
}
